<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>Coverage for c:\program files\python26\lib\genericpath</title>
<link rel='stylesheet' href='style.css' type='text/css'>
<script type='text/javascript' src='jquery-1.3.2.min.js'></script>
<script type='text/javascript'>
function toggle_lines(btn, cls) {
    var btn = $(btn);
    var hide = "hide_"+cls;
    if (btn.hasClass(hide)) {
        $("#source ."+cls).removeClass(hide);
        btn.removeClass(hide);
    }
    else {
        $("#source ."+cls).addClass(hide);
        btn.addClass(hide);
    }
}
</script>
</head>
<body>
<div id='header'>
    <div class='content'>
        <h1>Coverage for <b>c:\program files\python26\lib\genericpath</b> :
            <span class='pc_cov'>22%</span>
        </h1>
        <h2 class='stats'>
            50 statements
            <span class='run hide_run' onclick='toggle_lines(this, "run")'>10 run</span>
            <span class='exc' onclick='toggle_lines(this, "exc")'>0 excluded</span>
            <span class='mis' onclick='toggle_lines(this, "mis")'>40 missing</span>
            
                <span class='par run hide_run' onclick='toggle_lines(this, "par")'>4 partial</span>
            
        </h2>
    </div>
</div>

<div id='source'>
<table cellspacing='0' cellpadding='0'>
<tr>
<td class='linenos' valign='top'>
<p class='pln'>1</p>
<p class='pln'>2</p>
<p class='pln'>3</p>
<p class='pln'>4</p>
<p class='pln'>5</p>
<p class='stm mis'>6</p>
<p class='stm mis'>7</p>
<p class='pln'>8</p>
<p class='stm mis'>9</p>
<p class='pln'>10</p>
<p class='pln'>11</p>
<p class='pln'>12</p>
<p class='pln'>13</p>
<p class='pln'>14</p>
<p class='stm mis'>15</p>
<p class='pln'>16</p>
<p class='stm mis'>17</p>
<p class='stm mis'>18</p>
<p class='stm mis'>19</p>
<p class='stm mis'>20</p>
<p class='stm mis'>21</p>
<p class='pln'>22</p>
<p class='pln'>23</p>
<p class='pln'>24</p>
<p class='pln'>25</p>
<p class='stm mis'>26</p>
<p class='pln'>27</p>
<p class='stm mis'>28</p>
<p class='stm mis'>29</p>
<p class='stm mis'>30</p>
<p class='stm mis'>31</p>
<p class='stm mis'>32</p>
<p class='pln'>33</p>
<p class='pln'>34</p>
<p class='pln'>35</p>
<p class='pln'>36</p>
<p class='pln'>37</p>
<p class='stm mis'>38</p>
<p class='pln'>39</p>
<p class='stm mis'>40</p>
<p class='stm mis'>41</p>
<p class='stm mis'>42</p>
<p class='stm mis'>43</p>
<p class='stm mis'>44</p>
<p class='pln'>45</p>
<p class='pln'>46</p>
<p class='stm mis'>47</p>
<p class='pln'>48</p>
<p class='stm mis'>49</p>
<p class='pln'>50</p>
<p class='pln'>51</p>
<p class='stm mis'>52</p>
<p class='pln'>53</p>
<p class='stm mis'>54</p>
<p class='pln'>55</p>
<p class='pln'>56</p>
<p class='stm mis'>57</p>
<p class='pln'>58</p>
<p class='stm mis'>59</p>
<p class='pln'>60</p>
<p class='pln'>61</p>
<p class='stm mis'>62</p>
<p class='pln'>63</p>
<p class='stm mis'>64</p>
<p class='pln'>65</p>
<p class='pln'>66</p>
<p class='pln'>67</p>
<p class='stm mis'>68</p>
<p class='pln'>69</p>
<p class='stm mis'>70</p>
<p class='stm mis'>71</p>
<p class='stm mis'>72</p>
<p class='stm mis'>73</p>
<p class='stm mis'>74</p>
<p class='stm mis'>75</p>
<p class='stm mis'>76</p>
<p class='pln'>77</p>
<p class='pln'>78</p>
<p class='pln'>79</p>
<p class='pln'>80</p>
<p class='pln'>81</p>
<p class='pln'>82</p>
<p class='pln'>83</p>
<p class='pln'>84</p>
<p class='stm mis'>85</p>
<p class='pln'>86</p>
<p class='pln'>87</p>
<p class='pln'>88</p>
<p class='pln'>89</p>
<p class='pln'>90</p>
<p class='stm run hide_run'>91</p>
<p class='stm par run hide_run'>92</p>
<p class='stm run hide_run'>93</p>
<p class='stm run hide_run'>94</p>
<p class='pln'>95</p>
<p class='stm run hide_run'>96</p>
<p class='stm par run hide_run'>97</p>
<p class='pln'>98</p>
<p class='stm run hide_run'>99</p>
<p class='stm par run hide_run'>100</p>
<p class='stm par run hide_run'>101</p>
<p class='stm run hide_run'>102</p>
<p class='stm mis'>103</p>
<p class='pln'>104</p>
<p class='stm mis'>105</p>
    
</td>
<td class='text' valign='top'>
<p class='pln'><span class='str'>&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='str'>Path operations common to more than one OS</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='str'>Do not use directly.&nbsp; The OS specific modules import the appropriate</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='str'>functions from this module themselves.</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='str'>&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>import</span> <span class='nam'>os</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>import</span> <span class='nam'>stat</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='nam'>__all__</span> <span class='op'>=</span> <span class='op'>[</span><span class='str'>&#39;commonprefix&#39;</span><span class='op'>,</span> <span class='str'>&#39;exists&#39;</span><span class='op'>,</span> <span class='str'>&#39;getatime&#39;</span><span class='op'>,</span> <span class='str'>&#39;getctime&#39;</span><span class='op'>,</span> <span class='str'>&#39;getmtime&#39;</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <span class='str'>&#39;getsize&#39;</span><span class='op'>,</span> <span class='str'>&#39;isdir&#39;</span><span class='op'>,</span> <span class='str'>&#39;isfile&#39;</span><span class='op'>]</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># Does a path exist?</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># This is false for dangling symbolic links on systems that support them.</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>exists</span><span class='op'>(</span><span class='nam'>path</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Test whether a path exists.&nbsp; Returns False for broken symbolic links&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>try</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>st</span> <span class='op'>=</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>stat</span><span class='op'>(</span><span class='nam'>path</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>except</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>error</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>False</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>True</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># This follows symbolic links, so both islink() and isdir() can be true</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># for the same path ono systems that support symlinks</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>isfile</span><span class='op'>(</span><span class='nam'>path</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Test whether a path is a regular file&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>try</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>st</span> <span class='op'>=</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>stat</span><span class='op'>(</span><span class='nam'>path</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>except</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>error</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>False</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>stat</span><span class='op'>.</span><span class='nam'>S_ISREG</span><span class='op'>(</span><span class='nam'>st</span><span class='op'>.</span><span class='nam'>st_mode</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># Is a path a directory?</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># This follows symbolic links, so both islink() and isdir()</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># can be true for the same path on systems that support symlinks</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>isdir</span><span class='op'>(</span><span class='nam'>s</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Return true if the pathname refers to an existing directory.&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>try</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>st</span> <span class='op'>=</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>stat</span><span class='op'>(</span><span class='nam'>s</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>except</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>error</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>False</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>stat</span><span class='op'>.</span><span class='nam'>S_ISDIR</span><span class='op'>(</span><span class='nam'>st</span><span class='op'>.</span><span class='nam'>st_mode</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>getsize</span><span class='op'>(</span><span class='nam'>filename</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Return the size of a file, reported by os.stat().&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>stat</span><span class='op'>(</span><span class='nam'>filename</span><span class='op'>)</span><span class='op'>.</span><span class='nam'>st_size</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>getmtime</span><span class='op'>(</span><span class='nam'>filename</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Return the last modification time of a file, reported by os.stat().&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>stat</span><span class='op'>(</span><span class='nam'>filename</span><span class='op'>)</span><span class='op'>.</span><span class='nam'>st_mtime</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>getatime</span><span class='op'>(</span><span class='nam'>filename</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Return the last access time of a file, reported by os.stat().&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>stat</span><span class='op'>(</span><span class='nam'>filename</span><span class='op'>)</span><span class='op'>.</span><span class='nam'>st_atime</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>getctime</span><span class='op'>(</span><span class='nam'>filename</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Return the metadata change time of a file, reported by os.stat().&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>stat</span><span class='op'>(</span><span class='nam'>filename</span><span class='op'>)</span><span class='op'>.</span><span class='nam'>st_ctime</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># Return the longest prefix of all list elements.</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>commonprefix</span><span class='op'>(</span><span class='nam'>m</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;Given a list of pathnames, returns the longest common leading component&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>if</span> <span class='key'>not</span> <span class='nam'>m</span><span class='op'>:</span> <span class='key'>return</span> <span class='str'>&#39;&#39;</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='nam'>s1</span> <span class='op'>=</span> <span class='nam'>min</span><span class='op'>(</span><span class='nam'>m</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='nam'>s2</span> <span class='op'>=</span> <span class='nam'>max</span><span class='op'>(</span><span class='nam'>m</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>for</span> <span class='nam'>i</span><span class='op'>,</span> <span class='nam'>c</span> <span class='key'>in</span> <span class='nam'>enumerate</span><span class='op'>(</span><span class='nam'>s1</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>c</span> <span class='op'>!=</span> <span class='nam'>s2</span><span class='op'>[</span><span class='nam'>i</span><span class='op'>]</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>s1</span><span class='op'>[</span><span class='op'>:</span><span class='nam'>i</span><span class='op'>]</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>s1</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># Split a path in root and extension.</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># The extension is everything starting at the last dot in the last</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># pathname component; the root is everything before that.</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># It is always true that root + ext == p.</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># Generic implementation of splitext, to be parametrized with</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='com'># the separators</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'><span class='key'>def</span> <span class='nam'>_splitext</span><span class='op'>(</span><span class='nam'>p</span><span class='op'>,</span> <span class='nam'>sep</span><span class='op'>,</span> <span class='nam'>altsep</span><span class='op'>,</span> <span class='nam'>extsep</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Split the extension from a pathname.</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='str'>&nbsp; &nbsp; Extension is everything from the last dot to the end, ignoring</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='str'>&nbsp; &nbsp; leading dots.&nbsp; Returns &quot;(root, ext)&quot;; ext may be empty.&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>sepIndex</span> <span class='op'>=</span> <span class='nam'>p</span><span class='op'>.</span><span class='nam'>rfind</span><span class='op'>(</span><span class='nam'>sep</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='stm par run hide_run'><span class='annotate' title='no jump to this line number'>96</span>&nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>altsep</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm run hide_run'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>altsepIndex</span> <span class='op'>=</span> <span class='nam'>p</span><span class='op'>.</span><span class='nam'>rfind</span><span class='op'>(</span><span class='nam'>altsep</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='stm run hide_run'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>sepIndex</span> <span class='op'>=</span> <span class='nam'>max</span><span class='op'>(</span><span class='nam'>sepIndex</span><span class='op'>,</span> <span class='nam'>altsepIndex</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>dotIndex</span> <span class='op'>=</span> <span class='nam'>p</span><span class='op'>.</span><span class='nam'>rfind</span><span class='op'>(</span><span class='nam'>extsep</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p class='stm par run hide_run'><span class='annotate' title='no jump to this line number'>105</span>&nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>dotIndex</span> <span class='op'>&gt;</span> <span class='nam'>sepIndex</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='pln'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='com'># skip all leading dots</span><span class='strut'>&nbsp;</span></p>
<p class='stm run hide_run'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>filenameIndex</span> <span class='op'>=</span> <span class='nam'>sepIndex</span> <span class='op'>+</span> <span class='num'>1</span><span class='strut'>&nbsp;</span></p>
<p class='stm par run hide_run'><span class='annotate' title='no jump to this line number'>105</span>&nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>while</span> <span class='nam'>filenameIndex</span> <span class='op'>&lt;</span> <span class='nam'>dotIndex</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm par run hide_run'><span class='annotate' title='no jump to this line number'>103</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>p</span><span class='op'>[</span><span class='nam'>filenameIndex</span><span class='op'>]</span> <span class='op'>!=</span> <span class='nam'>extsep</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p class='stm run hide_run'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>p</span><span class='op'>[</span><span class='op'>:</span><span class='nam'>dotIndex</span><span class='op'>]</span><span class='op'>,</span> <span class='nam'>p</span><span class='op'>[</span><span class='nam'>dotIndex</span><span class='op'>:</span><span class='op'>]</span><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>filenameIndex</span> <span class='op'>+=</span> <span class='num'>1</span><span class='strut'>&nbsp;</span></p>
<p class='pln'><span class='strut'>&nbsp;</span></p>
<p class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>p</span><span class='op'>,</span> <span class='str'>&#39;&#39;</span><span class='strut'>&nbsp;</span></p>
    
</td>
</tr>
</table>
</div>

</body>
</html>
